package com.selen.vo;

import com.selen.entities.Emp;
import com.selen.entities.Permission;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author Selen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "LoginVO", description = "登录VO")
public class LoginVO implements Serializable {
    @Schema(description = "Token")
    private String token;

    @Schema(description = "用户权限")
    private List<Permission> permissions;

    @Schema(description = "用户信息")
    private Emp emp;

}
